(function(){
    $(".internal-back").on("click",function(){
        document.body.scrollTop = document.documentElement.scrollTop = 0;
    });
    $.ajax({
        type: "GET",
        url: "http://193.112.55.79:9090/api/getsitenav",
        dataType: "json",
        success: function (res) {
            var html = template("mall-nav-list",res);
            $(".mall-main").html(html);
        }
    });
})()